
//自动生成
using Framework;
using UnityEngine;
using UnityEngine.UI;
public partial class JoystickUI
{
	private UnityEngine.UI.Button action1_Button;
	private UnityEngine.UI.Image icon2_Image;
	private UnityEngine.UI.Image icon3_Image;
	private VariableJoystick input_VariableJoystick;
	private UnityEngine.UI.Button action3_Button;
	private UnityEngine.UI.Button action2_Button;
	private UnityEngine.UI.Text info_Text;
	private UnityEngine.UI.Image icon1_Image;
	private UnityEngine.UI.Text name1_Text;
	private UnityEngine.UI.Button actionE_Button;

    protected override void InjectFields(GameObjectFields value)
    {
		this.action1_Button = (UnityEngine.UI.Button)value.FieldItems[0].Value;
		this.icon2_Image = (UnityEngine.UI.Image)value.FieldItems[1].Value;
		this.icon3_Image = (UnityEngine.UI.Image)value.FieldItems[2].Value;
		this.input_VariableJoystick = (VariableJoystick)value.FieldItems[3].Value;
		this.action3_Button = (UnityEngine.UI.Button)value.FieldItems[4].Value;
		this.action2_Button = (UnityEngine.UI.Button)value.FieldItems[5].Value;
		this.info_Text = (UnityEngine.UI.Text)value.FieldItems[6].Value;
		this.icon1_Image = (UnityEngine.UI.Image)value.FieldItems[7].Value;
		this.name1_Text = (UnityEngine.UI.Text)value.FieldItems[8].Value;
		this.actionE_Button = (UnityEngine.UI.Button)value.FieldItems[9].Value;
		this.action1_Button.onClick.AddListener(() => { this.OnButtonClick(this.action1_Button); });
		this.action3_Button.onClick.AddListener(() => { this.OnButtonClick(this.action3_Button); });
		this.action2_Button.onClick.AddListener(() => { this.OnButtonClick(this.action2_Button); });
		this.actionE_Button.onClick.AddListener(() => { this.OnButtonClick(this.actionE_Button); });

    }
}
